<?php

namespace app\common\validate\tyyh;

class GroupBuyingPromotion extends Base
{
   /**
     * 验证规则
     */
    protected $rule = [
        'lock'                => 'require',
        'uid'                 => 'require',
    ];


    /**
     * 提示消息
     */
    protected $message = [
        'lock.require'                  => '验证规则场景不存在',
        'uid.require'                   => '用户ID不能为空'
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'private' => ['uid']
    ];
}
